<?php if(is_array($respective_project_listings) && count($respective_project_listings) > 0) { ?>
<div class="widget properties last">
	<div class="title">
	<h3><?php echo $text_respective_projects_listing; ?></h3>
	</div>
	<!-- /.title -->

	<div class="content">
		<?php foreach ($respective_project_listings as $listing) { ?>
		<div class="property">
			<div class="image">
				<a href="<?php echo base_url(); ?>detail/<?php echo $listing['Link']; ?>"></a> 
				<img src="<?php echo $listing['thumb']; ?>" alt="<?php echo $listing['name']; ?>">
			</div>
			<!-- /.image -->
		
			<div class="wrapper">
				<div class="title">
				<h3><a href="<?php echo base_url(); ?>detail/<?php echo $listing['Link']; ?>"><?php echo $listing['name']; ?></a></h3>
				</div>
				<!-- /.title -->
				<div class="location"><?php echo $listing['location']; ?></div>
				<!-- /.location -->
			</div>
			<!-- /.wrapper -->
		</div>
		<!-- /.property -->
		<?php } ?>
	</div>
	<!-- /.content -->
</div>
<!-- /.properties -->
<?php } ?>
